package result.show;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class ResultShow {
	private Socket socket;
	
	public ResultShow(Socket socket){
		this.socket=socket;
	}
	
	public void resultShow(String s) throws Exception{
		OutputStream out=socket.getOutputStream();
		out.write(s.getBytes());
		out.close();
	}

}
